<?php

/**
 * @author [Nhu tuan anh]
 * @time 23:37
 * @date 20-10-2012
 */

class BidJobCreate extends Bidjob{
    public function rules()
	{
		return array(
			array('money, timeduration, checkPoint,desc', 'required'),
			array('job_id, user_id, money', 'numerical', 'integerOnly'=>true),
			array('timeduration, checkPoint', 'length', 'max'=>100),
			// The following rule is used by search().
			// Please remove those attributes that should not be searched.
			array('id, job_id, user_id, money, timeduration, checkPoint, timepost', 'safe', 'on'=>'search'),
		);
	}

    
}

?>